class Page3 extends egret.Sprite{
	private mc_bg:BigMovieClip;
	private bmp_bg:egret.Bitmap;
	private bmp_text:egret.Bitmap;
	private arr_texture=[];
	public constructor() {
		super();
		this.mc_bg=new BigMovieClip();
		// var arr_texture=[];
		for(var i=0;i<61;i++)
		{
			if(i<10)
			{
				this.arr_texture.push(RES.getRes('P3.00'+i.toString()+'_jpg'));
				
			}
			else
			{
				this.arr_texture.push(RES.getRes('P3.0'+i.toString()+'_jpg'));
			}
		}
		this.mc_bg.init(this.arr_texture,12,true);
		this.addChild(this.mc_bg);
		this.mc_bg.gotoAndStop(1);
		

		this.bmp_bg=new egret.Bitmap();
		this.bmp_bg.width=1136;
		this.bmp_bg.height=740;
		this.bmp_bg.texture=RES.getRes('3_png')
		this.addChild(this.bmp_bg);

		this.bmp_text=new egret.Bitmap();
		
		this.bmp_text.texture=RES.getRes('TEXT-03_png')
		this.addChild(this.bmp_text);
		// this.bmp_text.x=1136-this.bmp_text.width-50;
		// this.bmp_text.y=50;
		this.bmp_text.alpha=0;
	}
	public In()
	{
		this.mc_bg.gotoAndPlay(1);
		this.bmp_text.alpha=0;
		egret.Tween.get(this.bmp_text).to({alpha:1},1000);
	}
	public Out()
	{
		this.removeTween()
		this.bmp_text.alpha=0;
		this.mc_bg.gotoAndStop(1);
	}
	private removeTween(): void {
		egret.Tween.removeTweens(this.bmp_text);
	}
}